package cn.com.simple.learning.designpattern.behavior.strategy;

/**
 * @author Jianxing.Jia
 * @date 2022/2/9
 * @description 描述信息
 */
public class MemberActivity {

    private final Strategy strategy;

    public MemberActivity(Strategy strategy) {
        this.strategy = strategy;
    }

    public void apply() {
        strategy.apply();
    }

}
